﻿<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="productcrud.aspx.cs" Inherits="Ecreate.Web.systemanage.product.productcrud" %>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" >
<head runat="server">
    <link rel="stylesheet" type="text/css" href="/content/css/crud/global.css"/>       
    <link rel="stylesheet" type="text/css" href="/content/css/crud/stylecrud.css"/>          
    <script type="text/javascript"  src="/content/javascript/jquery/jquery-1.3.2.js" ></script>
    
    <script type="text/javascript"   >
        $(document).ready(function() {
            $("#filename").change(function() {
                $("#uploadflag").attr("value", "upload");
                $("#form1").submit();
            });
        });
    </script>
    
    <title></title>
</head>
<body>
    <form id="form1" runat="server">
        <div class="contantB">
                <div class="cont760D">
                    <div><h3>产品<input id="Submit1" type="submit" value="保存" /></h3>
                        </div>
                </div>
                <div class="cont760C">        
                    <div class="b720Top">
                    </div>
                    <div class="b720Bot">
                    </div>                    
                </div>
                <div class="blank5"></div>
                <div class="cont760C">        
                    <div class="b720Top">
                    </div>
                    <div class="cont720B">
                        <div class="w440">
                        </div>
                        <div class="blank5"></div>
                        <ul>
                              <li class="w140">产品名称： </li>
                              <li class="w300">
                                    <asp:TextBox ID="pname" runat="server" Width="118px" CssClass="input03"></asp:TextBox>
                              </li>
                        </ul>
                        <div class="blank5"></div>
                        <ul>
                              <li class="w140">产品描述： </li>
                              <li class="w300">
                                    <asp:TextBox ID="pdescription" runat="server" Width="118px" CssClass="input03"></asp:TextBox>
                              </li>
                        </ul>
                        <div class="blank5"></div>
                        <ul>
                              <li class="w140">产品图片： </li>
                              <li class="w300">
                                               <input id="filename" type="file" runat="server" class="input03"/>
                              </li>
                        </ul>
                        <div class="blank5"></div>
                        <ul>
                              <li class="w140">图片预览： </li>
                              <li class="w300">
                                  <asp:Image ID="Image1" runat="server" Height="62px" 
                                      ImageUrl="~/content/images/Chart/NoData.jpg" Width="104px" />
                              </li>
                        </ul>    
                        <div class="clear">                                                                                     
                    </div>
                    <div class="clear">
                    </div>
                    <div class="b720Bot">
                    </div>
                </div>
                </div>
         </div>
         <input id="uploadflag" type="hidden" runat="server"/>
         <input id="actiontype" type="hidden" runat="server"/>         
         <input id="imageurl" type="hidden" runat="server"/>       
         <input id="classid" type="hidden" runat="server"/>         
         <input id="pid" type="hidden" runat="server"/>                  
    </form>
</body>
</html>
